ps -ef|grep java


if [ -f "application.pid" ]; then

echo "*******************************"
    for line in `cat application.pid`
    do
     echo $line
     kill -15 $line
     sleep 5
     ps -ef|grep java
    done
echo "-------------------------------"
fi




echo ""> nohup.out
git pull
mvn package -Dmaven.test.skip=true
nohup java  -jar  target/cp-web-webapp.jar   --spring.profiles.active=pro &

ps -ef|grep java